import java.sql.*;
public class Demo_1 {
	public static void main(String[] args) throws Exception {
		Class.forName("com.mysql.jdbc.Driver");
		Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1:3306/test?userUnicode=true&characterEncoding=utf8","root","123456");
		Statement sql = conn.createStatement();
		int s = sql.executeUpdate("insert into log values('Spring','2','Mr.R','Adam');");
	}
}